package com.ruoyi.labdata.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仪器迁移对象 lab_instrument_shift
 * 
 * @author winner pan
 * @date 2022-03-02
 */
public class LabInstrumentShift extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long shiftId;

    /** 操作人员 */
    @Excel(name = "操作人员")
    private Long operatorId;

    /** 操作日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operationTime;

    /** 目标机构 */
    @Excel(name = "目标机构")
    private Long targetLabId;

    /** 主键 */
    @Excel(name = "主键")
    private Long instrumentationId;

    /** 备注说明 */
    @Excel(name = "备注说明")
    private String comments;

    public void setShiftId(Long shiftId) 
    {
        this.shiftId = shiftId;
    }

    public Long getShiftId() 
    {
        return shiftId;
    }
    public void setOperatorId(Long operatorId) 
    {
        this.operatorId = operatorId;
    }

    public Long getOperatorId() 
    {
        return operatorId;
    }
    public void setOperationTime(Date operationTime) 
    {
        this.operationTime = operationTime;
    }

    public Date getOperationTime() 
    {
        return operationTime;
    }
    public void setTargetLabId(Long targetLabId) 
    {
        this.targetLabId = targetLabId;
    }

    public Long getTargetLabId() 
    {
        return targetLabId;
    }
    public void setInstrumentationId(Long instrumentationId) 
    {
        this.instrumentationId = instrumentationId;
    }

    public Long getInstrumentationId() 
    {
        return instrumentationId;
    }
    public void setComments(String comments) 
    {
        this.comments = comments;
    }

    public String getComments() 
    {
        return comments;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shiftId", getShiftId())
            .append("operatorId", getOperatorId())
            .append("operationTime", getOperationTime())
            .append("targetLabId", getTargetLabId())
            .append("instrumentationId", getInstrumentationId())
            .append("comments", getComments())
            .toString();
    }
}
